package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class UserWalletVo {
    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "String", name = "nickname", description = "昵称", required = true, defaultValue = "小明")
    private String nickname;

    @Schema(type = "String", name = "avatar", description = "头像", required = true, defaultValue = "xxx/xxx.npg")
    private String avatar;

    @Schema(type = "BigDecimal", name = "spendMoney", description = "消费金额", required = true, defaultValue = "1")
    private BigDecimal spendMoney;

    @Schema(type = "BigDecimal", name = "score", description = "积分，1元1积分，向下取整", required = true, defaultValue = "1")
    private BigDecimal score;

    @Schema(type = "BigDecimal", name = "money", description = "收益金额", required = true, defaultValue = "1")
    private BigDecimal money;
}
